﻿Public Class StateScope
    Implements IObject

    Private id As Integer
    Private description As String

    ' Constantes de Proyecto
    Public Const STATE_SCOPE_PROJECT As Integer = 1
    ' Constantes de Tarea
    Public Const STATE_SCOPE_TASK As Integer = 2

    Public Sub New()
    End Sub

    Public Sub New(ByVal id As Integer)
        Me.id = id
    End Sub

    Property idProperty()
        Get
            Return Me.id
        End Get
        Set(ByVal value)
            Me.id = value
        End Set
    End Property

    Property descriptionProperty()
        Get
            Return Me.description
        End Get
        Set(ByVal value)
            Me.description = value
        End Set
    End Property

    Public Function getId() As Integer Implements IObject.getId
        Return id
    End Function

    Public Function getTableName() As String Implements IObject.getTableName
        Return "STATE_SCOPES"
    End Function
End Class
